package pub.guoxin.oops.auth;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import pub.guoxin.oops.common.restful.SwaggerConfiguration;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import static pub.guoxin.oops.constants.OopsPathConstants.AUTH_PATH;
import static pub.guoxin.oops.constants.OopsPathConstants.SMS_PATH;

/**
 * Created by guoxin on 17-10-17.
 */
@Configuration
@EnableSwagger2
public class AuthRESTFulConfiguration extends SwaggerConfiguration {

    @Bean
    public Docket authApi() {
        return baseDocketNoHeader("Auth", AUTH_PATH, "Auth模块", "1.0");
    }

}
